//
//  MLABaseViewController.h
//  MagicLampApp
//
//  Created by Zheng on 2018/12/17.
//  Copyright © 2018 zheng.magic.lamp.app. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface MLABaseVC : UIViewController

- (void)configLeftItemWithImage:(NSString *)image;
- (void)configRightItemWithImage:(NSString *)image;
- (void)configRightItemWithTitle:(NSString *)title;

- (void)backAction;
- (void)leftItemAction;
- (void)rightItemAction;


/**
 生成一个通用的提交按钮
 
 @param title 标题
 @return btn
 */
- (UIButton *)getCommitButtonWithTitle:(NSString *)title;

@end

NS_ASSUME_NONNULL_END
